package DemoArray;

public class DemoArray {
	
	public static void main(String[] args){
		int[] a = new int[5];
		
		for(int i=0;i<a.length ;i++){
			a[i]=i;
		}
		
		for(int i:a){
			System.out.println("index ke-"+i+"nilainya :"+a[i]);
		}
		System.out.println("======starting Clone===========");
		int[] b= a.clone();
		System.out.println(b.length);
		for(int i=0;i<b.length ;i++){
			System.out.println(b[i]);
		}
	}
}
